from django.db import models

# Create your models here.


class GitRepo(models.Model):
    url=models.CharField(max_length=300, null=True, default=None)
    urlType=models.CharField(max_length=30, null=True, default=None)

class LocalGitRepo(models.Model):
    repo=models.ForeignKey(
        to='GitRepo',
        on_delete=models.PROTECT,
        blank=True,
        null=True
    )
    localGitRepoHub=models.CharField(max_length=300, null=True, default=None)
    localGitRepoHome=models.CharField(max_length=300, null=True, default=None)
    